From c659a231d6a1c05f882d8e8db0c57b22d79f31d7 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 19 Jun 2020 08:19:34 -0400 Subject: [PATCH] listbase: Increase the autoscroll threshold With autoscroll during DND, we stop when you hit the edge of the widget, so a larger threshold makes sense to avoid hitting the edge by accident. --- gtk/gtklistbase.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtklistbase.c b/gtk/gtklistbase.c index 4698682db1..5e2eb3fb39 100644 --- a/gtk/gtklistbase.c +++ b/gtk/gtklistbase.c @@ -1296,7 +1296,7 @@ remove_autoscroll (GtkListBase *self) } } -#define SCROLL_EDGE_SIZE 15 +#define SCROLL_EDGE_SIZE 30 static void update_autoscroll (GtkListBase *self, -- 2.30.2